package com.xiaoyu.lanling.event.user

import `in`.srain.cube.request.JsonData
import com.xiaoyu.base.data.UserData
import com.xiaoyu.base.event.BaseJsonEvent
import com.xiaoyu.base.utils.MMKVUtil
import com.xiaoyu.lanling.common.Constant
import com.xiaoyu.lanling.feature.profile.model.UserProfile
import com.xiaoyu.lanling.feature.user.model.UserExtra

class UserSetProfileEvent(requestTag: Any, jsonData: JsonData) : BaseJsonEvent(requestTag, jsonData) {
    val profile = UserProfile(jsonData)

    val hasSetProfile = jsonData.optBoolean("hasSetProfile")
}